﻿/*
   Open Intel 
   Copyright © 2011 – ISC. All Rights Reserved.
*/

using ISC.MapDotNetServer.Common.Maps;

namespace OI.Framework
{
    public class MashupMapDefinition
    {
        public Map Map { get; set; }
        public string SerialMap { get; set; }

        public Map Copy()
        {
            Map newMap = null;
            if (SerialMap != null)
            {
                newMap = Map.Deserialize(SerialMap);
            }
            return newMap;
        }
    }
}
